package com.whpost.service.entity.cwqf;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author YinZhuoyi
 * @since 2025-08-26
 */
@Getter
@Setter
@TableName("TB_CRM_CUSTOMER")
public class TbCrmCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("ID")
    private Long id;

    /**
     * 客户子码

     */
    @TableField("CUSTOMER_CODE")
    private String customerCode;

    /**
     * 客户业务关系名称
     */
    @TableField("CUSTOMER_NAME")
    private String customerName;

    /**
     * 客户主码
     */
    @TableField("PARTY_CODE")
    private String partyCode;

    /**
     * 客户法定名称

     */
    @TableField("PARTY_NAME")
    private String partyName;

    /**
     * 协议客户名称

     */
    @TableField("PARTY_SUB_NAME")
    private String partySubName;

    /**
     * 客户业务关系码
     */
    @TableField("BUSINESS_RELATION_CODE")
    private String businessRelationCode;

    @TableField("BUSINESS_CODE")
    private String businessCode;

    /**
     * 业务分类名称
     */
    @TableField("BUSINESS_NAME")
    private String businessName;

    /**
     * 来源系统

     */
    @TableField("DATA_SOURCE_FROM")
    private String dataSourceFrom;

    /**
     * 客户联系人
     */
    @TableField("CONTACTOR")
    private String contactor;

    /**
     * 客户座机
     */
    @TableField("CONTACT_TEL")
    private String contactTel;

    /**
     * 客户电话
     */
    @TableField("CONTACT_PHONE")
    private String contactPhone;

    /**
     * 客户地址
     */
    @TableField("CONTACT_ADDRESS")
    private String contactAddress;

    /**
     * 账务分类

     */
    @TableField("ACCOUNT_BOOK")
    private String accountBook;

    @TableField("COMP_CODE")
    private String compCode;

    @TableField("COMP_NAME")
    private String compName;

    @TableField("DEPT_CODE")
    private String deptCode;

    @TableField("DEPT_NAME")
    private String deptName;

    @TableField("POST_ORG_CODE")
    private String postOrgCode;

    @TableField("POST_ORG_NAME")
    private String postOrgName;

    @TableField("SPECIALTY_CODE")
    private String specialtyCode;

    @TableField("SPECIALTY_NAME")
    private String specialtyName;

    @TableField("PRODUCT_CODE")
    private String productCode;

    @TableField("PRODUCT_NAME")
    private String productName;

    @TableField("PAYMENT_MODE")
    private String paymentMode;

    @TableField("PAYMENT_MODE_NAME")
    private String paymentModeName;

    @TableField("PAYMENT_TERM")
    private String paymentTerm;

    @TableField("REGISTER_ORG_CODE")
    private String registerOrgCode;

    @TableField("REGISTER_ORG_NAME")
    private String registerOrgName;

    @TableField("POST_XZJG_CODE")
    private String postXzjgCode;

    @TableField("CREATE_DATE")
    private Date createDate;

    /**
     * 提取详情标志
     */
    @TableField("RAN")
    private String ran;

    /**
     * 邮编
     */
    @TableField("POSTAL_CODE")
    private String postalCode;

    @TableField("REGISTER_DATE")
    private String registerDate;
}
